package com.bjsxt.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * description:
 * 用户注册接收参数实体类
 *
 * @author ALIENWARE
 * @version v1.0.0
 * @create 12/29/2023
 **/
@ApiModel(value = "com-bjsxt-dto-RegisterDto/用户注册接收参数实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class RegisterDto extends GeetestDto {
    /**
     * 电话的国家区号
     */
    @ApiModelProperty(value = "电话的国家区号")
    @NotBlank
    private String countryCode;
    /**
     * 邮箱地址
     */
    @ApiModelProperty(value = "邮箱地址")
    private String email;
    /**
     * 邀请码
     */
    @ApiModelProperty(value = "邀请码")
    private String invitionCode;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    @NotBlank
    private String password;
    /**
     * 验证码（已经弃用）
     */
    @ApiModelProperty(value = "验证码（已经弃用）")
    private String validateCode;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String mobile;
}
